package cn.onlineclass.dao;


import cn.onlineclass.entity.OBook;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface BookMapper {

    public int deleteById(Long id);

    public int insertOBook(OBook record);

    public int updateById(OBook record);

    public List<OBook> findALL();

    public int searchTotal(@Param("name") String name, @Param("unitid") Long unitid);

    public List<OBook> searchAll(@Param("pageNo") int pageNo, @Param("pageSize") int pageSize);
}